<!doctype html>
<html lang="en">
<head>
    <?php include "../include/header.php"; ?>
    <script>
        $(function(){
            $("#title").focus();
        })
    </script>
</head>
<body>
<div class="container">
    <form method="post" action="blog_action.php">
        <div>
            <label for="title">title: </label>
            <input type="text" name="title" id="title" size="50"/>
        </div>


        <div>
            <textarea name="content" id="content" cols="120" rows="10"></textarea>
        </div>


        <div>
            <input name="action" type="hidden" value="new"/>
            <input type="submit" value="Submit"/>
        </div>

    </form>

</div>

</body>
</html>